package DBLayer;

import java.util.ArrayList;

import ModelLayer.Stock;

public interface IFDBStock {
	
	// get all Stocks
    public ArrayList<Stock> getAllStocks(boolean retriveAssociation);
    //get one stock having the stockID
    public Stock findStock(int stockId);
    //find one stock having the name
    public Stock searchStockName( String stockName);
    //insert a new Stock
    public int insertStock(Stock s) throws Exception;
    //update information about an Stock
    public int updateStock(Stock s);
    //delete an stock using the stockID
    public int deleteStock(int stockID);

}
